package com.yuncheng.spcyApi.utils;

import cn.hutool.core.lang.UUID;
import com.yuncheng.spcyApi.snokeFlake.idgen.GenIdHelper;

/**
 * 获取随机id 36位
 */
public class GetUuIdUtils {

    /*public static String ReplaceUuId(){
        return UuidUtils.generateUuid().replace("-","");
    }*/
    public static String ReplaceUuId(){
        return String.valueOf(GenIdHelper.nextId());
    }

    public static String NotReplaceUuId(){
        return UUID.randomUUID().toString().replace("-","");
    }

    /*public static String NotReplaceUuId(){
        return UuidUtils.generateUuid();
    }*/

}
